home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13717 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  755 b 

  1. Path: pirates.cs.swt.edu!dali!mh22888
  2. From: mh22888@dali.math.swt.edu (Mohammed Hasan)
  3. Newsgroups: comp.lang.c
  4. Subject: best way to make a program pause for a while
  5. Date: 10 Apr 1996 00:38:18 GMT
  6. Organization: Computer Science Department, Southwest Texas State University
  7. Message-ID: <4kevtq$knj@pirates.cs.swt.edu>
  8. NNTP-Posting-Host: dali.math.swt.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. i need to make my simple c program(to run in unix env)
  12. wait for a while before it terminates.
  13. what would be the best way to accomplish this?
  14. right now, i am using the pause() function, but that is
  15. not very efficient as i need to send a signal to it to
  16. resume the execution(and eventually terminate).
  17. any help/idea on this would be highly appreciated.
  18. thanks.
  19.  
  20. mh
  21.  
  22.